Fix format of errors in other files