resolved bug with limit