Fixed removal of the view. Fixed routing