lowercase boolean constants
minor refactor