fixed php strict standards errors