modifies logic if client enters no string, corrects off-kilter styling