cleanup old params in callback