verify text directly instead of hashcode