fix notices
Merge pull request #44 from LehaMotovilov/notices

fix php related notices