Fixing uppercase/lowercase problem with auto complete