fixed minor issues in function file with the walker