create act detail optimize