fix nullPointer for Online KevScript engine