Bug fixes in stats menu