optimization, fixed non-starting bug