adapt to heart.css