bug with closing time.