total data loading bug and barchart showing bug fixed