fixing minor glitches