fixed a bug in final report