Minor correction to avoid notice

In my context, i have sevral notices so i made this improvement. I hope to have time to work on a PSR-0 compatibility too.