fixed string comparison problem