bug corrected