fix encoding in spec