contact encoding fix