fixed a bug when bitcoincharts returned zero data