Fix order's saving process, redump db