fix card layout