drop unnecessary error returns