Fix beeping noise that occurred every time the program ran