catch errors
fix: add state to root
0.6.2