strange template path issue