fixed copying in preview window