fixed some bugs with continuous and 0 walk dist