fix the bug when several reqs