fix history chart