Fixed bug in invoke_backend_service