remove unused and conflicting parameters