corrected databsing errors