deleting trailing comma