put params at right place