fixes #6
Merge pull request #12 from testphpwarl/master

here are the changes