sanity for malformatted