test accept and reject error fix