fix conversion errors (redmine #1900)
Merge branch 'master' of github.com:PecanProject/pecan