fixed startup error