checkprofilepermission problem