fix command handling in H2Registrar