fix cached db results