ensure compatibility with old component/css