fix cecil null issue