remove session attributes error and status correctly
office model added