misc c backend updates