fixes some other glitches