Remove useless bits