removed old css handling code