fixed bug in Views rendering