added more obvious string compare code to string callback