fix broken sessions