trying to fix db logging bug