fix xml issue on PHP 5.5
add support to competitor calls (used for backward compatibility