has_role problem fixed