Clean up error messages from config