fixing #6361, now for J