multi var has bug, debugging