fix rm statdefinitions