check if not equal to false instead of true