time bug in wave