fix some sound routines