fixed _verify_databases

Change-Id: I59da2dbd7e8368c4fbd799c5d57f13ae7e33ea87