[FIX] destroy objects, when error parsing