drop trailing comma in defaults