stupid bug corrected