fixed issue where application was being used for the template names