fix comma and missing but