Report formatting errors and fix #1