different bugfixes when creating or displaying sessions