repair
about error handle
add block_handler