Remove useless pages