here is to fix undefined error of $sql_data['valid_queries'] after imported