fixed setactiveviewcontroller