handle last_uid property in memory store
fix find_charset rebase