Catch range error when get all items
add specs