fix backend api issue