Fixed errors in pull request