delete object files properly