fixed bug with displaying sessions where there is only one