fixing a little bug with stats in dal