double check data to avoid double encryption