fix registerViewController