fixed addPin to async