cleanup unused bits