fixes for base16