Fix Encoder error that crash on include runtime.