fix get_creation_state in debug.