problem with state