Remove useless checks