corrected some minor bugs with stats