Fix decode binary