fix off by one error
fmt and use correct bit depth
test bucket id parsing