fix for resolve url