resolve register problem