fix errors in startup commands