log created_by bug fix