fix multiple css components bug