modify input position