fixed T_OBJECT_OPERATOR issue in PHP 5.3