fix header collapse, add run edit