have you tried creating a new custom template then copying the contents of this one in? without being able to repro i'm not sure how to debug further