error functions_queries line 4