fixed agent::delete bug, cell wasn't set to 0