some fix for log