fix for correcting urls