fixes invalid ID error after upgrading to docker v1.4