clean code and some bug fix
try to get block information from worker when information from master is outdated
format change