fix a bug in databases