removed wrong check