some fixes for deadbeef