replace constant to someId, fix bug in nic path