leo: small cleanup