Fixed metadata dec to bin