it crashes when calling pool.scope inside pool.install. that can be acceptable but we need at least a clear error message.