Fix bug.
Change pull requests api arguments parsing.