Fix 'undefined' at end of API man url