added screen capture trick