another bug corrected