handle errors that dont fit the format