fixed big size dead loop bug in zbuddy module