remove global self var