Corrected variable name in url for report