remove trailing comma. fixes #1633