remove unneeded checks