remove un-needed shuffle codes