Fix bug on sound alert