small string verification fix