removed debug line in smoothstate init