fix route and view layout