stats - syntax fixes