fix bug with more than one band