fix get_all_blocks api - v.0.2.9