make sure pools are presents, make sure pool id is valid