fix bug in sparkPoolSize (affects debug output only)