fix template paths in views