Trivial template directory bug