some fixes to views