fix parsing of blocks containing interpolations