fix namespace in PHPTemplate