fixes #1
sorry, fixed
Merge pull request #2 from phpwarlock/2-bug

fixes #1