php 5.3 compatibility fixed
Merge pull request #2 from romanpitak/dev

php 5.3 compatibility fixed