Fix endings usage and download stats