fixed maximum and minimum times
fixing min and max times in client and event stream