implement cleanup after check option for devtools