forgot to remove $ from end of string when I converted from regex to string compare.