fixed incorrect reporting of profit