Fixed broken URL reading bug