fix for tm bapi url