corrected the data path