another logging fix. change the worng error message last update.