- fixed a bug where the addChr optional parameter was accepting a parameter rather than being a flag