fix comment on check_permission function