Bugfixed: local upstream modify may caused an coredumped