fixed issue in database example file