fix errors for pull request