A couple of Strict Standards errors in the recent MW versions

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #6 from emanuele45/fix

A couple of Strict Standards errors in the recent MW versions