Fixed some formatting and an error