try to fix "mysql_num_rows" bug