removes errnoeous call