fix #1194
Merge pull request #1195 from belforte/master

fix #1194