sophia: fix string comparator and version updates