registry fixes