[core] fix undef interface