Added error message if pub formats do not save