fixed session and create report