tried to get rcharts working better