Fixed j>0 bug