fix for J>1