readsfrom deprecated fix