fix SEGV in symbol duplicate