fix mod_block_log bug