fix Safari bug with the wrapped labels and add format code for the final example