Fixed error in session

Signed-off-by: Nils Van Geele <nils.vgeele@gmail.com>