solve a nullpointer
saveinterface added