bug fix due to last change