limit bug fix