remove error probe test and unused code