Fix block deleting