[Evgeny, Jason] fix fragment.getState