remove extra params