added "log" variable check
fixed "Extra empty line detected at block body end" offense