fixed caching enum, changed default session config