[script plugin] fixed crash on linux