fixed walk function params