fixes broken stuff