modify register viewcontroller
modify cmdStr