[FIX] fixed 3 Notices
Merge pull request #1053 from Fredyy90/patch-6

[FIX] fixed 3 Notices