fix issues which prevent ampache API from working