Fixed an uninitialized value error