Fix missing session attribute
Remove debug print