registry formatting fix