get optimizer building and running without crashes