fixed bug where view clears dom node rather than css value