add delete param function