fix #1075
Merge pull request #1076 from belforte/master

fix #1075