fix class_key initiation of the new child resource