clean up mess of extraneous errors for type aliases