debugging database string