removing optimizer