fix true/false to lowercase