Register bug corrected