fix error in task
calculate finished rating