ahadb: minor changes