sync code form v3quickcocos