added missing log statement