move obs above setimmediate
1.18.1