fix bug with % rejected calculation