problem with init state