Removes trailing comma