fixed to process data of 6 months