fix view model and line length