Fixed some code formatting issues