fixed php strict standards errors (fixes #72)