attempt to fix "null" strings ending up in the DB