clean up block parser