fix printouts decoded_data bug