Add protection for reject error