add
fix segmentfault