fix limit_txt, fix #412
merge master