Fixed has_access