prevent cascaded calls in case of errors