write params only one time