fix missing optimtist