little query error solved, thanks to Nethan