use static, not self. this may help #92
fix for subclass
Merge 80eaf8e0070975f67ba0cddf2911b2f23a918915 into d0c369b58a4a0003728b265fb27c3d4ece3bd774