Fixed a bug in _setcss helper