fixes in pool directory checkings