[FIX] a triple-facepalm-class bug
[FIX] class setup