Remove \r before comparing.