fix some minor issues
use boom errors whenever it makes sense