added encoding, who know maybe it works now