refactor 'drop table' operation