Fixed the minor warnings on startup