move list initialisations up to avoid crashes in the cleanup methods if initialisation bailed out early