temporary basesession workaround for invalid state