fixed migration bug
got rid of separate stats migration