fixed issue with https urls