image edges cleaned up