working time and tuple windows. time windows still have a heartbeat bug