Fixed code formatting errors