fixed limit bug