Corrected code formatting issues