fixed the bug of marking scheme