workaround the broken session api this morning