correct log case