fixed hitting so it returns the right hash