remove error manager