Fixes on css views functions