fixed weird bug
Merge pull request #19 from Vandenn/master

fixed weird bug