removed semicolons trailing SQL queries.