Fixed access error in PHP 5.3.X