fixed walk boundry issues
fixed walk boundry issues