Fix template location