small fix in css method