fixed communities bug