fix bug
first effort towards band alignment