bug fixed: break with -m mode