fix drop table bug