fix set attributes for load balancer  (#1298)