fix problem opening type hierarchy in external source file