correct invalid package metadata