fixed datasets per app being miscalculated