fixed forgotten api call replacement