selected limit bug fix