fix condition for creating clan