fix Allstat view