fixed creating groups to not redirect to a null page