fix warning message during boot up