fixing code formatting issue