erase margin auto on pics