fix reject guild function