fixes customized parser for multiple subsequent flags splicing use case
add additional check that ensures that all holes were filled

currently this is implemented through ugly mutable hack
i hope that there would be some better way to reimplement it in the future