fixed buildUrl