bugfix for chord insertion
bugfix for chord insertion