if the query ends with a ';' it is automatically erased