train-net: existing id returns error fixed