session controller fix