Removing trailing comma