fix issues in pull request build process