fixing an error with load balancing