fix for notes placed in wrong location