fix fallout from classes' toString