optimizer shouldnt be dep