minor side bug corrected