fix .o and abort problems