fix backend deploy issues