lofi: small fix in logic ordering