missing return after error