fix the uninitialized variable