cleanup of url