[MBU] add undefined protection