Fix indenting; attempt to fix deletion

Editing online; changes haven't been trialed