patched a bug with CSS