add new code for create path with encrypt chip id