Fixing startup error