fixing front end for new data format