trim string before comparing