database fix for Tim M