fix relatedmanager