fix the alloc db size issus
fix dump/load issus