factory register fix