method to delete columns