working version of url read
resolved async issues