modify SingleObject.class.php