Fixed error of pull request #714