setx x and x1 template
Fixed wrappers setx x and x1