fixed egregious error