corrupted graphics when using "dig"