[skeleton] Fix setState mismatch