fix class manip patching
v0.3.1