fix memory issue happen in exceptional case in inter/WHITESPACE-DERAIL