fixed syntax error introduced into betfair apis