Remove duplicate urls when saving