fixed trailing comma - ref #741