changes and fixes

removed html formatting in data to app
fix average data output bug