fixed generate run button