Fixed cpu useage