Fix Register Error