fixed string comparison warning