fixed dcba conversion