removing weird squares