fixing scaling and note selection