some small fixes to views