fixed cousin problem