debug pos copy