remove unneeded check that was leading to some freezes