fixed dba issues on sessions