fixed some x deletions in a different way