don't allow corrupt entries to be created