fix bug in wl_buildDicitonary.m