remove incorrect code in startup