remove where button works correctly