fix db sample