Fix #1849 - sym.main is not lost anymore