Fix block parsing.

Signed-off-by: cyberzhg <cyberzhg@gmail.com>