fix for tarantool/gh-331