Make sure the ID is displayed usgin run -d

Fixes #1043