ensure that identifiers and references are handled when waking up