Error fix on DBAccess