move arguments to the proper location