fix charts when no data