cannot compare string directly