printed state was wrong