Merge pull request #1797 from sjinks/1.2.5

[1.2.5] Fix #1783