parse before deleing