fix initialization error