[crapregistry] fix some problems