Fixed undeclared variable error in /pools/default/buckets/:bucket