Fix for j doesn't exist