create proper URLs