fixing url formatting (making it pretty)