corrected linting; removed log statement