fix #134
test for object class instead of extension enabled