fixes broken subjects associations