trim strings before comparing