remove an unneeded check