fix small glitches