fixed delete for core java object