remove base and use open-uri
simplified things