new api fixed