fixed class_check behavior, added minimal.json