add option for disable reset when release