cleans up code urls