fix limit bug