create wave goto bug fixed