fixed issue with stats