delete unneeded params