prevent error when former_level is None