new api fix