fix a bug on Helper.m