per @infogulch, error check was a no-op