call read method when open url