correct log call