remove error path