fix db cache error
adjust comments