attempt to fix database printing