make the encodings list more robust