fix according to @dsetrakyan's https://github.com/gridgain/gridgain/issues/74#issuecomment-48077212