Fix some PHP Notices