re-add optimizer