add limit to data filtering
add limit in data filtering