fixed view refresh issue by moving controller tag to root in the view