fixes double negative error.