remove unnecessary stupidity prevention code