refactored currentController to originViewController