fixed a mem check bug. renamed passer function.