fix ring passing