Fix some warnings

Just fix some PHP warnings