fixed gethitdata()