fix for error after maximising stats;