broken when optimizer runs