Fix error on startup