Converter rewriting, remove substance dependencies, transformation not working