Fixed enum switch warning
Fixed XLOG_ABORT() not working