Fix for #255
Merge pull request #257 from Foxandxss/patch-2

Fix for #255