database presence fix