fixed loop in getSubReddit