Remove the invalid comma at the end