[AutoBouquetsMaker] more fixes readingwriting of lamedb.