fixed indel bug in parse