stats: make them work also in vstudio
stats: ignore erroneous data