fix for trailing comma