bug fix (clicking accept again after something is accepted was causing an error)