Fixed #1047
Merge pull request #1145 from dvvrd/fix1047

Fixed #1047