debug the extras_swig undefined problem