fix prod branch of apicall script