new api and io 7 fixes