remove double negative logic