another small fix in code style in the view