13.13 fixed some bugs in cost recognitions