correct uninitialized variable