corrected some glitches