chang oulink to be alloced when it need
fix multistamt bugs