refactor dropColumn