fix for screenshot