Template path fix