fixed unicode errors and some formatting