Uninitialized var fixed