Some additional fixes for PHP errors