Fixed "uninitialized value" warning