Improved attribute printing, removed strange characters