Bug fix on coil decode