Fix session config