support namespace for php-5.3.x