bug fix for resonators