Fix card layout