fix the problem of initializing wave