fixed linting errors and debugged loadbalencer