Fixed a PHP BUG