Fixed PHP Strict varnings