An attempt to fix wav filename bug