fix bug (when hit is null)