fix sound card algorit so no overwrite happens