clean public url value