fixes url param error