fix encoding error. Should solve #2