fix string comparison warings