fixing a glitch that was causing the heart icon to disappear