Fix routing to new view issue