fix: crash at the end
fix: free parser at the end