fixed typo in specifying the permission_denied  template.