fix action generate