Fixed sound handler, but may break when run inside dev environment