encoding temp fix