init common，pb sample is OK