Encoding fix

Now with more Magic Comment and less root!