Bug solved in sessions helper.