fixing time period display