fix up some starting values so it starts up in the correct mode