Remove useless mask