fixed bug when 'resty api base address' is not set