Fixed the logic for custom pool argument to associator