fix corners bug with set.session