fix some borked session logic