statistics fixes