fix to sqlstore to use unicode in db