fix Large amount of log warnings that will lead to fatal errors