invalid logic for request.uniq