ipa_enc was returning values twice, now returns once