card header overflow fix