Debugging delete code and linting