remove invalid default from metadata