fixing notices in abort