fixed upper case values and spaces in titles