remove unused methods in sql-handler