fix for auto local mode optimization
merge
add exectype