fix error in changeURL for min