fixed tiny glitch and improved readability like laanwj suggested