fixed initialization error