fill in url attribute