Fix bug #40
Resolve PHP notice message.