fix maps card layout problem