fixed pool count thing (forgot to cast the fetched string to an int, lol)