fix bug with reason in reject