issue #118 compatible variable with linux server on beforeDelete