corrected a stupid bug