Fixed URL retrieve bug