db access fix