Fixed the bug of the non-existant wave