fixed memdb(Client()) problem