fixed inject relations