fixed php strict stuff