correction fatal error (is_object)