fix an initialization error