Solved the cjloss deviation problem