removing columns based on condition