fix some ui things
use the model directly for rendering a single view