be graceful when id is nil