fixes button in card component