fixed bug with diatonics