workaround for rCharts mapOutput bug