refactor drop table