Removed WAVE errors by using label correctly