Fixed autorun boolean bug