remove param from query string if null