rebuild parser