fixed bugs in 3rd round