Fixing error on startup.