Fix of notices Undefined index on lines 176 and 235
Merge pull request #4 from MartinMystikJonas/fixnotices

Fix of notices Undefined index on lines 176 and 235