fix: pool_before is a hash, not a model object