command registry fix