fix on linux, var was not initializzed by 0
hack to fill queue