fix for issue #283
Merge pull request #364 from diribet/issue283

[push] fix for issue #283