remove trashObject directive